x86/vmx: Better description of CR4 settings outside of paged mode
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 26 Sep 2017 16:08:33 +0000 (17:08 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Oct 2017 09:47:34 +0000 (10:47 +0100)
commit3c1ca29bd53570ffce049a297d18956f5d93ec8a
treeaa9bf0330084a90d597e9f359f2d493a22e6b9c0
parent8ef6793a2cd5c78b474bf44f20ef0da5811c402c
x86/vmx: Better description of CR4 settings outside of paged mode

This rearanges the logic to avoid the double !hvm_paging_enabled(v) check, but
is otherwise identical.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vmx.c